package cn.fj.xtail.admin.service.menu.controller;

import cn.fj.xtail.admin.service.menu.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 菜单表 前端控制器
 * </p>
 *
 * @author XTail
 * @since 2025-04-22 09:57:34
 */
@RestController
@RequestMapping("/menu")
public class MenuController {

    @Autowired
    private MenuService menuService;

    @GetMapping()
    public void getMenu() {
        System.out.println(menuService.findMenu());
    }

}
